.relative {
	position: relative;
}

.absolute {
	position: absolute;
}

image {
	display: inline-block;
}

.font-xs {
	font-size: 22px;
}

.font-sm {
	font-size: 26px;
}

.font-md {
	font-size: 28px;
}

.font-lg {
	font-size: 30px;
}

.font-xl {
	font-size: 34px;
}

.flex {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.flex-col {
	display: flex;
	flex-direction: column;
	// align-items: center;
}
.flex-none {
  flex: none;
}

.flex-wrap {
	flex-wrap: wrap;
}

.flex-nowrap {
	flex-wrap: nowrap;
}

.col-center {
	align-items: center;
}

.col-top {
	align-items: flex-start;
}

.col-bottom {
	align-items: flex-end;
}

.col-stretch {
	align-items: stretch;
}

.row-center {
	justify-content: center;
}

.row-left {
	justify-content: flex-start;
}

.row-right {
	justify-content: flex-end;
}

.row-between {
	justify-content: space-between;
}

.row-around {
	justify-content: space-around;
}

.text-left {
	text-align: left;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}

.flex-col {
	display: flex;
	flex-direction: column;
}

// 定义flex等分
@for $i from 0 through 12 {
	.flex-#{$i} {
		flex: $i;
	}
}

// 定义字体(px)单位
@for $i from 12 to 40 {
	.font-#{$i} {
		font-size: $i + px;
	}
}

@for $i from 2 through 8 {
	.font-w-#{$i}00 {
		font-weight: $i * 100;
	}
}

// 定义内外边距，历遍1-80
@for $i from 0 through 80 {
	// 只要双数和能被5除尽的数
	@if $i % 2 == 0 or $i % 5 == 0 {
		// 得出：margin-30或者m-30
		.margin-#{$i}, .m-#{$i} {
			margin: $i + px!important;
		}
		
		// 得出：padding-30或者p-30
		.padding-#{$i}, .p-#{$i} {
			padding: $i + px!important;
		}
		
		@each $short, $long in l left, t top, r right, b bottom {
			// 缩写版，结果如： m-l-30
			// 定义外边距
			.m-#{$short}-#{$i} {
				margin-#{$long}: $i + px!important;
			}
			
			// 定义内边距
			.p-#{$short}-#{$i} {
				padding-#{$long}: $i + px!important;
			}
			
			// 完整版，结果如：margin-left-30
			// 定义外边距
			.margin-#{$long}-#{$i} {
				margin-#{$long}: $i + px!important;
			}
			
			// 定义内边距
			.padding-#{$long}-#{$i} {
				padding-#{$long}: $i + px!important;
			}
		}
	}
}

/* start--文本行数限制--start */
.line-1 {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.line-2 {
  -webkit-line-clamp: 2;
}

.line-3 {
  -webkit-line-clamp: 3;
}

.line-4 {
  -webkit-line-clamp: 4;
}

.line-5 {
  -webkit-line-clamp: 5;
}
 .line-2, .line-3, .line-4, .line-5 {
  overflow: hidden;
  word-break: break-all;
  text-overflow: ellipsis; 
  display: -webkit-box; // 弹性伸缩盒
  -webkit-box-orient: vertical; // 设置伸缩盒子元素排列方式
}

.pointer {
  cursor: pointer;
}

.border-none {
	border: none !important;
}

.h100 {
	height: 100%;
}
.w100 {
	width: 100%;
}
.w0 {
	width: 0;
}
.h0 {
	height: 0;
}


.input {
	width: 200px !important;
	margin-right: 10px;
}

.col-line {
  background-color: #fdcd00;
  width: 2px;
}
.of-cover {
  object-fit: cover;
}
body{
	font-family: "Helvetica";
	// min-width: 1400px;
	// @media(max-width: 1024px) {
	// 	min-width: 1000px;
	// }
}
ul,li {
	list-style: none;
	margin: 0;
	padding: 0;
}
a {
	cursor: pointer;
	text-decoration: none;
}

input:focus {
	outline: 0;
}

.base {
	width: 100%;
	overflow-x: hidden;
}

/*滚动条整体部分*/
.my-scrollbar::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
/*滚动条的轨道*/
.my-scrollbar::-webkit-scrollbar-track {
    background-color: #FFFFFF;
}
/*滚动条里面的小方块，能向上向下移动*/
.my-scrollbar::-webkit-scrollbar-thumb {
    background-color: #c0c4cc;
    border-radius: 5px;
    border: 1px solid #F1F1F1;
    box-shadow: inset 0 0 6px rgba(0,0,0,.3);
}
.my-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: #A8A8A8;
}
.my-scrollbar::-webkit-scrollbar-thumb:active {
    background-color: #787878;
}
/*边角，即两个滚动条的交汇处*/
.my-scrollbar::-webkit-scrollbar-corner {
    background-color: #FFFFFF;
}
/**
改变边框颜色
 */
 .el-table--border, .el-table--group {
    border: 1px solid #afadadd5!important;
}
/**
改变表格内竖线颜色
 */
.el-table--border  td, .el-table--border th, .el-table__body-wrapper .el-table--border.is-scrolling-left~.el-table__fixed {
    border-right: 1px solid #afadadd5!important;
}
/**
改变表格内行线颜色
 */
.el-table  td, .el-table th.is-leaf  {
    border-bottom: 1px solid #afadadd5!important;
}
 
.el-table thead tr th{
    border-color: #afadadd5;
}

// 变宽设置渐变色
// }
// .el-input__inner{
//     border-image:linear-gradient(to right,#afadadd5,#afadadd5) 5 5!important;
//     /* 自定义其他样式时 注意加 !important 安全一些 */
// }

//  输入框背景色
.el-input__inner {
  background-color: #f2f2f2!important;  
}
.el-input__count-inner{
	background-color: #f2f2f2!important;
}

//  输入框背景色
.el-textarea__inner{

	background: #f2f2f2!important;
}
.el-input__count{
	background-color: #f2f2f2!important;
}

.el-input .el-input__count {
	line-height: 3.5 !important;
	display: inherit !important	;

}